@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
toolbox{
-moz-appearance:none;
background-color:transparent;
border-top:2px solid;
-moz-border-top-colors:transparent transparent}

toolbar,
menubar{
-moz-appearance:none}

toolbar{
min-width:1px;
min-height:19px;
border-top:1px solid transparent;
border-bottom:1px solid transparent}

toolbar:first-child,
menubar{
min-width:1px;
border-bottom:1px solid transparent;
border-top:0!important}

toolbar[mode="icons"] .toolbarbutton-text{
display:none}

toolbar[mode="text"] .toolbarbutton-icon{
display:none}

toolbar[mode="text"] .toolbarbutton-text{
margin:3px 5px!important;
padding:0!important}

toolbarseparator{
-moz-appearance:none;
width:2px;
margin:4px 0;
border-left:1px solid rgba(255,255,255,.1)}

toolbarspacer{
width:15px}

toolbarpaletteitem{
cursor:-moz-grab}

.toolbarpaletteitem-box[type="spacer"],
.toolbarpaletteitem-box[type="spring"]{
border:1px solid gray;
background-color:#fff!important}

toolbarpaletteitem[place="toolbar"]{
margin-left:-2px;
margin-right:-2px;
border-left:2px solid transparent;
border-right:2px solid transparent}

toolbarpaletteitem[place="toolbar"] > toolbarspacer{
width:11px}

.toolbarpaletteitem-box[type="spacer"][place="toolbar"],
.toolbarpaletteitem-box[type="spring"][place="toolbar"]{
margin-top:2px;
margin-bottom:2px;
-moz-margin-start:0;
-moz-margin-end:2px}

.toolbarpaletteitem-box[type="separator"][place="palette"]{
width:2px;
height:50px}

.toolbarpaletteitem-box[type="spacer"][place="palette"],
.toolbarpaletteitem-box[type="spring"][place="palette"]{
margin-bottom:2px;
width:50px;
height:50px}

.toolbarpaletteitem-box[type="spring"][place="palette"]{
background:url("chrome://global/skin/toolbar/spring.png") no-repeat center}

toolbarpaletteitem[dragover="left"]{
border-left-color:#000}

toolbarpaletteitem[dragover="right"]{
border-right-color:#000}

#StylishCustomToolbox > toolbar{
padding-top:2px!important;
padding-bottom:2px!important}